package com.demo2.todo.model.dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author evi
 */
@Data
public class CommentResponse {
    private Long id;
    private Long todoId;
    private Long userId;
    private String username;
    private String content;
    private Long parentId;
    private LocalDateTime createdAt;
    private List<CommentResponse> children;
}
